package com.zx.server.service;


import com.zx.server.entity.IdentityEntity;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @auther: zhangxin
 * @Description:
 */
public interface IdentityService {

    int addIdentity(IdentityEntity identityEntity);

    boolean updateIdentity(@RequestBody IdentityEntity identity);

    List<IdentityEntity> getIdentityList(String key,Integer limit,Integer offset);
}
